package com.ssy.oppo.controller;

import com.ssy.oppo.model.pojo.SecGood;
import com.ssy.oppo.service.SecGoodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
/**
 * @author: 苏少有的idea
 * @date:   2021/11/24
 * @description 安全验证页面控制器
 */
@RestController
public class SecGoodController {
    @Autowired
    SecGoodService secGoodService;
    @GetMapping("/secgood")
    public List<SecGood> toAllSecGood(){
        return secGoodService.selectAllSecGood();
    }
}
